(function(EasyDesigner) {
    window.tree = [{
        "name": "div",
        "children": [{
                "name": "div",
                "children": [{
                        "name": "div",
                        "children": "123",
                        "key": 3
                    },
                    {
                        "name": "div",
                        "children": "321",
                        "key": 4
                    }
                ],
                "key": 2
            },
            {
                "name": "InuDiv",
                "children": "inudiv",
                "key": 5,
                "class": {
                    "edr_abs": true,
                    "edr_select": true
                },
                "style": {
                    "left": "99px",
                    "top": "98px"
                }
            }
        ],
        "key": 1
    }];
    Vue.use(EasyDesigner);
    var app = new Vue({
        data: {},
        mounted() {
            this.$refs.designer.load(window.tree);
        }
    });
    app.$mount(document.querySelector('#app'));
})(EasyDesigner.default);